#pragma once


class ItemsModel;
class ItemsManager
{
public:
    ItemsManager();
    ItemsModel *mainItems(){ return _mainItems; }
    ItemsModel *subItems(){ return _subItems; }
    ItemsModel *compareItems(){ return _compareItems; }
    ItemsModel *foundItems(){ return _foundItems; }
private:
    ItemsModel *_mainItems = nullptr;
    ItemsModel *_subItems = nullptr;
    ItemsModel *_compareItems = nullptr;
    ItemsModel *_foundItems = nullptr;
public:
    // public static functions
    static ItemsManager *instance();
private:
    static ItemsManager *_instance;
};